package com.biz.primus.commodity.vo.frontend;


import com.biz.primus.commodity.vo.frontend.interfaces.AbstractProductReqVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;

/**
 * 首页商品请求Vo
 *
 * @author david-liu
 * @date 2017年03月30日
 * @reviewer
 */
@Data
public class IndexProductReqVo extends AbstractProductReqVo implements Serializable {
    private static final long serialVersionUID = -4471528215926751037L;

    /**
     * 区域ID
     */
    private Long geoId;

    /**
     * 门店Id 兼容快喝
     */
    private Long depotId;

    /**
     * 门店编码
     */
    private String depotCode;

    /**
     * 省仓门店编码
     */
    private String warehouseDepotCode;

    /**
     * 用户等级
     */
    private Integer userLevel = 1;

    @ApiModelProperty("门店经度")
    private BigDecimal depotLon;

    @ApiModelProperty("门店纬度")
    private BigDecimal depotLat;

    @ApiModelProperty("用户经度")
    private BigDecimal userLon;

    @ApiModelProperty("用户纬度")
    private BigDecimal userLat;


    /**
     * 商品编码
     */
    private List<String> productCodes = Collections.emptyList();

    @Override
    public Long getShopId() {
        return null;
    }

    @Override
    public boolean isValid() {
        return false;
    }
}
